{include file="public/header" /}
<style>
    .form-readonly{
        pointer-events:none;
    }
</style>
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <form class="form-horizontal form-readonly" method="post">
            <div class="col-sm-12">
                <div class="tabs-container">

                    <div class="tab-content">
                        <div class="ibox-content">
                            <div class="form-group">
                                <label class="col-sm-2 control-label"> 类型：</label>
                                <div class="col-sm-9">
                                    <div class="radio i-checks">
                                        <label>
                                            <input type="radio" value="0" name="type" {present name='name'}{eq name="name.type" value="0"}checked{/eq}{else/}checked{/present}>线上
                                        </label>
                                        <label>
                                            <input type="radio" value="1" name="type" {present name='name'}{eq name="name.type" value="1"}checked{/eq}{/present}>线下
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"> 状态：</label>
                                <div class="col-sm-9">
                                    <div class="radio i-checks">
                                        <label>
                                            <input type="radio" value="-1" name="status" {present name='name'}{eq name="name.status" value="-1"}checked{/eq}{else/}checked{/present}>驳回
                                        </label>
                                        <label>
                                            <input type="radio" value="0" name="status" {present name='name'}{eq name="name.status" value="0"}checked{/eq}{/present}>待审核
                                        </label>
                                        <label>
                                            <input type="radio" value="1" name="status" {present name='name'}{eq name="name.status" value="1"}checked{/eq}{/present}>审核通过
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"> 需求状态：</label>
                                <div class="col-sm-9">
                                    <div class="radio i-checks">
                                        <label>
                                            <input type="radio" value="0" name="state" {present name='name'}{eq name="name.state" value="0"}checked{/eq}{else/}checked{/present}>下架
                                        </label>
                                        <label>
                                            <input type="radio" value="1" name="state" {present name='name'}{eq name="name.state" value="1"}checked{/eq}{/present}>招募中
                                        </label>
                                        <label>
                                            <input type="radio" value="2" name="state" {present name='name'}{eq name="name.state" value="2"}checked{/eq}{/present}>招募成功
                                        </label>
                                        <label>
                                            <input type="radio" value="3" name="state" {present name='name'}{eq name="name.state" value="3"}checked{/eq}{/present}>应征方完成
                                        </label>
                                        <label>
                                            <input type="radio" value="4" name="state" {present name='name'}{eq name="name.state" value="4"}checked{/eq}{/present}>订单完成
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"> 支付状态：</label>
                                <div class="col-sm-9">
                                    <div class="radio i-checks">
                                        <label>
                                            <input type="radio" value="-1" name="pay_state" {present name='name'}{eq name="name.pay_state" value="-1"}checked{/eq}{else/}checked{/present}>已失效
                                        </label>
                                        <label>
                                            <input type="radio" value="0" name="pay_state" {present name='name'}{eq name="name.pay_state" value="0"}checked{/eq}{/present}>待支付
                                        </label>
                                        <label>
                                            <input type="radio" value="1" name="pay_state" {present name='name'}{eq name="name.pay_state" value="1"}checked{/eq}{/present}>已支付
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"> 支付方式：</label>
                                <div class="col-sm-9">
                                    <div class="radio i-checks">
                                        <label>
                                            <input type="radio" value="1" name="pay_method" {present name='name'}{eq name="name.pay_method" value="1"}checked{/eq}{else/}checked{/present}>余额
                                        </label>
                                        <label>
                                            <input type="radio" value="2" name="pay_method" {present name='name'}{eq name="name.pay_method" value="2"}checked{/eq}{/present}>支付宝
                                        </label>
                                        <label>
                                            <input type="radio" value="3" name="pay_method" {present name='name'}{eq name="name.pay_method" value="3"}checked{/eq}{/present}>微信
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"> 免费方式：</label>
                                <div class="col-sm-9">
                                    <div class="radio i-checks">
                                        <label>
                                            <input type="radio" value="1" name="method" {present name='name'}{eq name="name.method" value="1"}checked{/eq}{else/}checked{/present}>文字
                                        </label>
                                        <label>
                                            <input type="radio" value="2" name="method" {present name='name'}{eq name="name.method" value="2"}checked{/eq}{/present}>文字+语音
                                        </label>
                                        <label>
                                            <input type="radio" value="3" name="method" {present name='name'}{eq name="name.method" value="3"}checked{/eq}{/present}>文字+视频
                                        </label>
                                        <label>
                                            <input type="radio" value="4" name="method" {present name='name'}{eq name="name.method" value="4"}checked{/eq}{/present}>文字语音视频
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">图片：</label>
                                <div class="col-sm-9">
                                    {present name="$name"}
                                    {foreach $name['imgs'] as $v}
                                    <div class="col-md-2 col-sm-3 col-xs-4">
                                        <div class="im"><img width="100px" height='100px' src="__ROOT__{$v}" >  </div>
                                    </div>
                                    {/foreach}
                                    {/present}
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">城市：</label>
                                <div class="col-sm-9">
                                    <input name="city" type="text" class="form-control" value="{present name='name'}{$name.city}{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">标题：</label>
                                <div class="col-sm-9">
                                    <input name="title" type="text" class="form-control" value="{present name='name'}{$name.title}{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">描述：</label>
                                <div class="col-sm-9">
                                    <textarea class="form-control" name="content">{present name="name"}{$name.content}{/present}</textarea>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">驳回原因：</label>
                                <div class="col-sm-9">
                                    <input name="reason" type="text" class="form-control" value="{present name='name'}{$name.reason}{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">预算：</label>
                                <div class="col-sm-9">
                                    <input name="price" type="text" class="form-control" value="{present name='name'}{$name.price}{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">佣金：</label>
                                <div class="col-sm-9">
                                    <input name="settlement_price" type="text" class="form-control" value="{present name='name'}{$name.settlement_price}{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">应征用户：</label>
                                <div class="col-sm-9">
                                    <input name="another_id" type="text" class="form-control" value="{present name='name'}{$name.another_id}{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">订单编号：</label>
                                <div class="col-sm-9">
                                    <input name="order_sn" type="text" class="form-control" value="{present name='name'}{$name.order_sn}{/present}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">创建时间：</label>
                                <div class="col-sm-9">
                                    <div class="form-control">
                                        {if condition="$name.create_time"}
                                        {$name.create_time|date="Y-m-d H:i",###}
                                        {/if}
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">审核时间：</label>
                                <div class="col-sm-9">
                                    <div class="form-control">
                                        {if condition="$name.audit_time"}
                                        {$name.audit_time|date="Y-m-d H:i",###}
                                        {/if}
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">支付时间：</label>
                                <div class="col-sm-9">
                                    <div class="form-control">
                                        {if condition="$name.pay_time"}
                                        {$name.pay_time|date="Y-m-d H:i",###}
                                        {/if}
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">应征成功时间：</label>
                                <div class="col-sm-9">
                                    <div class="form-control">
                                        {if condition="$name.sub_time"}
                                        {$name.sub_time|date="Y-m-d H:i",###}
                                        {/if}
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">确定完成时间：</label>
                                <div class="col-sm-9">
                                    <div class="form-control">
                                        {if condition="$name.finish_time"}
                                        {$name.finish_time|date="Y-m-d H:i",###}
                                        {/if}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
{include file="public/footer" /}
{load href="__PLUGINS__iCheck/icheck.min.js"}
{load href="__PLUGINS__iCheck/custom.css"}
<script type="text/javascript">
    $(document).ready(function(){
        $(".i-checks").iCheck({
            checkboxClass: "icheckbox_square-green",
            radioClass: "iradio_square-green",
        })
    });
</script>
